<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="never">
<title></title>
<script>
// 页面从详情页回退的时候去控制页面刷新
if(window.name != "bencalie"){

	window.name = "bencalie";
}else{
	location.reload();
	window.name = "";
}
</script>
<script src='./js/rem.js'></script>
<link rel="stylesheet" href="./css/cover.css">
<link href="./css/style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="./css/coverThree.css">
<link rel="stylesheet" href="./css/otherTypecover.css">
<link rel="stylesheet" href="./css/hongbao.css">
<script type="text/javascript" src="//static.adbaitai.com/game/Js/template.js"></script>
<script type = 'text/html' id = 'topFloatTemplte'>
	<div class="ScoreboardTitle">
		<div class="ScoreboardTitleLeft">
			累计活动积分:&nbsp;<span id = 'scoreTotle'>{{score}}</span>
		</div>
		<a class="ScoreboardTitRight" id = 'jumptoexchangeBtn' href='http://game.adbaitai.com/exchange/index.html'>
			兑换现金
			<i class ='icon-angle-right icon-large'></i>
		</a>
 </div>
</script>
<script type = 'text/html' id = 'coverTemplate'>
	<div class="contentBox">
				<img class = 'cover-goods-img' src = '{{lottery.rewardPicUrl}}' alt=""/>
				<p id = 'goods-info'>{{lottery.rewardPicDescription}}</p>
				{{if lottery.rewardTitle}}
				<h3 class = 'cover-goods-title'>{{lottery.rewardTitle}}</h3>
				{{/if}}
				{{if lottery.rewardDescription}}
				<p id = 'goods-news'>{{lottery.rewardDescription}}</p>
				{{else}}
				<div id = 'tipToyouBox'>
					<div id = 'priceTip'><span id = 'rmbtip'>¥</span><span id = 'youhuitbActivityPrice'>{{lottery.tbActivityPrice}}</span></span><span id = 'tipToyoupricetip'>优惠券</span></div>
					<a id = 'tipToyou' href="{{lottery.skipUrl}}" onclick = 'closeCover(1)'>{{lottery.buttonText}}</a>
				</div>
				{{/if}}
				<div class="cover-close-btn" onclick ='closeCover(6)'></div>
				<div class="btm-btn-box">
					{{if lgUrl}}
					<a id="go-btn" href="{{lgUrl}}" onclick = 'closeCover(1)' class ='clickNow'>立即抢券&nbsp;>></a>
					{{else}}
					<a id="go-btn" href="javascript:void(0)" onclick = 'closeCover(0)'>再试一次</a>
					{{/if}}
				</div>
		</div>
</script>
<script  type = 'text/html' id = 'coverOtherTemplate'>
		<div class="contentBoxTwo">
		<div class="content-closeBtn" onclick = 'closeCover(6)'></div>
		<p class = 'content-title'>{{lottery.rewardPicDescription}}</p>
		<div class="show-goods-img">
			<i class = 'img-border-item img-border-top img-border-item1'></i>
			<i class = 'img-border-item img-border-top img-border-item2'></i>
			<i class = 'img-border-item img-border-top img-border-item3'></i>
			<i class = 'img-border-item img-border-top img-border-item4'></i>
			<i class = 'img-border-item img-border-top img-border-item5'></i>
			<i class = 'img-border-item img-border-top img-border-item6'></i>
			<i class = 'img-border-item img-border-top img-border-item7'></i>
			<i class = 'img-border-item img-border-top img-border-item8'></i>
			<i class = 'img-border-item img-border-top img-border-item9'></i>
			<i class = 'img-border-item img-border-top img-border-item10'></i>
			<i class = 'img-border-item img-border-top img-border-item11'></i>
			<i class = 'img-border-item img-border-top img-border-item12'></i>
			<i class = 'img-border-item img-border-top img-border-item13'></i>
			<i class = 'img-border-item img-border-top img-border-item14'></i>
			<i class = 'img-border-item img-border-top img-border-item15'></i>
			<i class = 'img-border-item img-border-top img-border-item16'></i>
			<i class = 'img-border-item img-border-top img-border-item17'></i>
			<i class = 'img-border-item img-border-top img-border-item18'></i>
			<i class = 'img-border-item img-border-top img-border-item19'></i>
			<i class = 'img-border-item img-border-top img-border-item20'></i>
			<i class = 'img-border-item img-border-top img-border-item21'></i>
			<i class = 'img-border-item img-border-top img-border-item22'></i>
			<i class = 'img-border-item img-border-top img-border-item23'></i>
			<i class = 'img-border-item img-border-top img-border-item24'></i>
			<i class = 'img-border-item img-border-top img-border-item25'></i>
			<i class = 'img-border-item img-border-top img-border-item26'></i>
			<i class = 'img-border-item img-border-bottom img-border-item1'></i>
			<i class = 'img-border-item img-border-bottom img-border-item2'></i>
			<i class = 'img-border-item img-border-bottom img-border-item3'></i>
			<i class = 'img-border-item img-border-bottom img-border-item4'></i>
			<i class = 'img-border-item img-border-bottom img-border-item5'></i>
			<i class = 'img-border-item img-border-bottom img-border-item6'></i>
			<i class = 'img-border-item img-border-bottom img-border-item7'></i>
			<i class = 'img-border-item img-border-bottom img-border-item8'></i>
			<i class = 'img-border-item img-border-bottom img-border-item9'></i>
			<i class = 'img-border-item img-border-bottom img-border-item10'></i>
			<i class = 'img-border-item img-border-bottom img-border-item11'></i>
			<i class = 'img-border-item img-border-bottom img-border-item12'></i>
			<i class = 'img-border-item img-border-bottom img-border-item13'></i>
			<i class = 'img-border-item img-border-bottom img-border-item14'></i>
			<i class = 'img-border-item img-border-bottom img-border-item15'></i>
			<i class = 'img-border-item img-border-bottom img-border-item16'></i>
			<i class = 'img-border-item img-border-bottom img-border-item17'></i>
			<i class = 'img-border-item img-border-bottom img-border-item18'></i>
			<i class = 'img-border-item img-border-bottom img-border-item19'></i>
			<i class = 'img-border-item img-border-bottom img-border-item20'></i>
			<i class = 'img-border-item img-border-bottom img-border-item21'></i>
			<i class = 'img-border-item img-border-bottom img-border-item22'></i>
			<i class = 'img-border-item img-border-bottom img-border-item23'></i>
			<i class = 'img-border-item img-border-bottom img-border-item24'></i>
			<i class = 'img-border-item img-border-bottom img-border-item25'></i>
			<i class = 'img-border-item img-border-bottom img-border-item26'></i>
			<img src="{{lottery.rewardPicUrl}}" alt="">
		</div>
		<div class="content-goods-detail-title">{{lottery.rewardDescription}}</div>
		<p class = 'validity-date'>有效期:&nbsp;{{lottery.endValid}}</p>
		<a class="content-clickBtn" href="javascript:void(0)" target="_blank" onclick='closeCover(11)'>{{lottery.buttonText}}</a>
		<a class="content-linkToSeeDetail" href="javascript:void(0)" target="_blank" onclick='closeCover(12)'>点击查看使用详情 >></a>
	</div>
</script>
<!-- 抽奖次数用完 -->
<script type ='text/html' id = 'noFrequencyTemp'>
	<div class = 'contentBoxThreee'>
	<div class ='closeNoFrequencyBtn' onclick="closeCover()"></div>
	<a href="{{attribute.lgUrl}}" id ='contentBoxThreeeLink' onclick="closeCover(1)">
		<img src="//static.adbaitai.com/game/dzp/nofrequencyout.png" alt="">
	</a>
</div>
</script>
<!-- 红包的弹出层 -->
<script type = 'text/html' id = 'hbTemplate'>
		<div class="contenthb">
			<div class = 'hb-close-btn' onclick = 'closeCover()'></div>
			<img src="//static.adbaitai.com/game/dzp/hbOutlayer.png" alt="">
			<div class ='priceTitleBox'>
				<span class = 'priceTitle'>{{lottery.money}}.00</span>
				元现金红包
			</div>
			<div class="test">兑换码:&nbsp;<span class = 'showPersonId'>{{lottery.exchange}}</span>&nbsp;<span class = 'linkToAdmin'>联系群主领取</span></div>
			<a class="clickjumpbtn" href= '{{lgUrl}}'></a>
		</div>
</script>
<!-- 免单的弹出层 -->
<script type = 'text/html' id = 'freeTemplate'>
		<div class="contenthb">
			<div class = 'hb-close-btn' onclick = 'closeCover()'></div>
			<img src="//static.adbaitai.com/game/dzp/hbOutlayer.png" alt="">
			<div class ='priceTitleBox'>
				<span class = 'priceTitle'>恭喜获得免单资格！</span>
			</div>
			<div class="test">兑换码:&nbsp;<span class = 'showPersonId'>{{lottery.exchange}}</span>&nbsp;<span class = 'linkToAdmin'>联系群主领取</span></div>
			<a class="clickjumpbtn" href= '{{lgUrl}}'></a>
		</div>
</script>
<!-- 大转盘图片模板 -->
<script type = 'text/html' id = 'hiddenImgTemp'>
	{{each lists as value i}}
	{{if value == 'none'}}
	<img src="//static.adbaitai.com/game/dzp/cai.png" id="{{i+1}}" style="display:none;" />
	{{else}}
	<img src="{{value}}" id="btm{{i+1}}" style="display:none;" />
	{{/if}}
	{{/each}}
	<img src="./images/thanksforenjoy.png" id = 'thanksImg' alt="" style = 'display:none;'>
</script>
<!-- <script type='text/javascript'>
	window._CWiQ = window._CWiQ || [];
	window.BX_CLIENT_ID = 50539; // 帐号ID
	(function() {
		var c = document.createElement('script')
		,p = 'https:'==document.location.protocol;
		c.type = 'text/javascript';
		c.async = true;
		c.src = (p?'https://':'http://')+'tp.ana.betterdsp.com/boot/0';
		var h = document.getElementsByTagName('script')[0];
		h.parentNode.insertBefore(c, h);
	})();
</script> -->
</head>
<body style="overflow-x:hidden;">
	<!-- <iframe id = 'testIframe' style='display:none;' src='http://gamepre.adbaitai.com/gamedzp/test.html'></iframe> -->
	<div class="bgcontainer">

		<div id = 'goBack' onclick = 'goBack()'>
			<svg style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
	      <path d="M687.732364 172.450909 313.460364 511.488l374.295273 339.013818c13.079273 12.939636 13.079273 33.885091 0 46.801455-13.079273 12.939636-34.257455 12.939636-47.336727 0L242.106182 536.552727c-6.958545-6.888727-9.937455-16.034909-9.472-25.064727-0.465455-9.029818 2.513455-18.152727 9.472-25.064727L640.418909 125.649455c13.079273-12.916364 34.257455-12.916364 47.336727 0C700.811636 138.589091 700.811636 159.534545 687.732364 172.450909z"></path>
	    </svg>
		</div>
		<!-- S=转盘列表商品图片 -->
		<!-- <img id = 'bgImg' src="./images/gameBG.png" alt=""> -->
	    <div class="hiddenImg" id = 'hiddenImg'>
				<!-- <img src="images/voucherFive.png" id="voucherFive-img" style="display:none;" />
		    <img src="images/voucherTen.png" id="voucherTen-img" style="display:none;" />
		    <img src="images/voucherThree.png" id="voucherThree-img" style="display:none;" /> -->
	    </div>
		<!-- E=转盘列表商品图片 -->
		<div class="banner">
			<div class="turnplate" id = 'turnplateBox' style="background-size:100% 100%;">
				<canvas class="item canvasRotate" id="wheelcanvas" width="844px" height="844px"></canvas>
				<img class="pointer" id = 'dzpBtn' src="//static.adbaitai.com/game/dzp/startBtn.png"/>
			</div>
			<p class = 'top-count-title'>今天剩余&nbsp;<span style='color:#fff;font-size:17px;' id = 'allClickNum'>8</span>&nbsp;次免费</p>
			<!-- <div id = 'smallHead'></div> -->
			<div id='zdpFooter'></div>
		</div>
		<!-- S=弹出层 -->
		<div class="cover" id = 'stcover'>
			<!-- <div class="contentBox">
					<img class = 'cover-goods-img' src = './images/ewmImg.png' alt=""/> -->
					<!-- 商品信息展示 -->
					<!-- <p id = 'goods-info'></p> -->
					<!-- 提示信息 -->
					<!-- <h3 class = 'cover-goods-title'>扫二维码加好友，优惠券抢不停</h3> -->
					<!-- <p id = 'goods-news'>扫描添加微信好友获得专享优惠券</p> -->
					<!-- <div class="cover-close-btn">×</div> -->
					<!-- <div class="btm-btn-box">
						<a class="go-btn" href="javascript:void(0)" onclick = "MtaH5.clickStat('btm5004159501')">前往</a>
					</div>
			</div> -->
		</div>
		<!-- E=弹出层 -->
	</div>


	<!-- 数据统计 -->
	<script>
		var bodyObj =  document.getElementsByTagName('body')[0],
				coverObj = document.getElementById('stcover');
		bodyObj.style.height = window.screen.height - 50 +'px';
		coverObj.style.height = window.screen.height - 50 +'px';
	  	var _mtac = {"senseQuery":1};
	  	(function() {
	  		var mta = document.createElement("script");
	  		mta.src = "https://pingjs.qq.com/h5/stats.js?v2.0.4";
	  		mta.setAttribute("name", "MTAH5");
	  		mta.setAttribute("sid", "500415950");
	  		mta.setAttribute("cid", "500415963");
	  		var s = document.getElementsByTagName("script")[0];
	  		s.parentNode.insertBefore(mta, s);
	  	})();
	</script>
	<script type="text/javascript" src="//static.adbaitai.com/game/Js/jquery.min.js"></script>
	<script type="text/javascript" src="./js/awardRotate.js"></script>
	<script type="text/javascript" src = './js/main.js'></script>
	<script>
	if( window.history.length > 0 ) {
	}else {
		$('#goBack').css('display', 'none');
	}
	function goBack (){
		window.history.go(-1);
	}

	</script>
</body>
</html>
